package com.jsjvm.shared.jdwp.events;

/**
 * We finished to prepare a class. We generate this kind of event just for
 * 'normal' classes (loaded from files). 
 * 
 * @author ctalau
 *
 */
public class JDWPClassPrepareEvent extends JDWPEvent {
	// FIXME assign a status to each JClass
	
	private int classID;
	private String signature;
	public JDWPClassPrepareEvent(int classID, String signature) {
		this.classID = classID;
		this.signature = signature;
	}
	
	@Override
	public EventKind getType() {
		return EventKind.CLASS_PREPARE;
	}

	public int getClassID() {
		return classID;
	}
	
	public String getSignature() {
		return signature;
	}
}
